package com.csust.automaticteach.constant;

/**
 * @ClassNameUserConstant
 * @Description 用户常量类
 * @Author钰玟
 * @Date2025/4/12 下午3:42
 * @Version 1.0
 **/

public interface UserConstant {

    public static final String PARAMS_IS_NULL = "参数为空";
    public static final int ACCOUNT_MIN_LENGTH = 4;
    public static final int PASSWORD_MIN_LENGTH = 8;
    public static final String ACCOUNT_IS_SHORT = "用户账户过短";
    public static final String PASSWORD_IS_SHORT = "用户密码过短";
    public static final String DOUBLE_PASSWORD_NOT_EQUAL = "两次输入的密码不一致";
    public static final String ACCOUNT_REPEATED = "账号重复";
    public static final String FAIL_REGISTER = "注册失败，数据库错误";
    public static final String ACCOUNT_ERROR = "账号错误";
    public static final String PASSWORD_ERROR = "密码错误";
    public static final String FAIL_LOGIN = "用户不存在或密码错误";
    public static final String NO_LOGIN = "未登录";
    public static final String ROLE_ERROR = "无法注册为管理员";
    /**
     * 用户登录键
     */
    public static final String USER_LOGIN_STATE = "user_login";
    /**
     * region权限
     */

}
